package demo.thread;

import java.util.concurrent.Callable;

/**
 * Created by zhangyanfei on 2018/11/1.
 *
 * @author zhangyanfei
 * @date 2018/11/01
 */
public class Demo<T> {

    private Callable<T> callable;

    T get() throws Exception {
        return callable.call();
    }
}
